/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.edu.ifal.crazypizza.gui;

import javax.swing.JOptionPane;

/**
 *
 * @author Lucas
 */
public class FrmOutros extends javax.swing.JFrame {

    /**
     * Creates new form FrmOutros
     */
    public FrmOutros() {
      this.setExtendedState(MAXIMIZED_BOTH);
      initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlOutros = new javax.swing.JPanel();
        btnFondue = new javax.swing.JRadioButton();
        btnMousse = new javax.swing.JRadioButton();
        btnBiscoito = new javax.swing.JRadioButton();
        btnTrident = new javax.swing.JRadioButton();
        btnBombom = new javax.swing.JRadioButton();
        lblOutros = new javax.swing.JLabel();
        btnSalvar = new javax.swing.JToggleButton();
        btnCancelar = new javax.swing.JToggleButton();
        ImagemOutros = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        lblImagem = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("PEDIDO OUTROS");
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        pnlOutros.setBackground(new java.awt.Color(255, 255, 204));
        pnlOutros.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        pnlOutros.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        btnFondue.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        btnFondue.setText("Fondue");
        pnlOutros.add(btnFondue, new org.netbeans.lib.awtextra.AbsoluteConstraints(31, 9, -1, -1));

        btnMousse.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        btnMousse.setText("Mousse");
        pnlOutros.add(btnMousse, new org.netbeans.lib.awtextra.AbsoluteConstraints(31, 32, -1, -1));

        btnBiscoito.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        btnBiscoito.setText("Biscoito");
        pnlOutros.add(btnBiscoito, new org.netbeans.lib.awtextra.AbsoluteConstraints(31, 55, -1, -1));

        btnTrident.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        btnTrident.setText("Trident");
        pnlOutros.add(btnTrident, new org.netbeans.lib.awtextra.AbsoluteConstraints(31, 78, -1, -1));

        btnBombom.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        btnBombom.setText("Bombom");
        pnlOutros.add(btnBombom, new org.netbeans.lib.awtextra.AbsoluteConstraints(31, 101, -1, -1));

        getContentPane().add(pnlOutros, new org.netbeans.lib.awtextra.AbsoluteConstraints(560, 340, 230, 150));

        lblOutros.setFont(new java.awt.Font("Comic Sans MS", 1, 48)); // NOI18N
        lblOutros.setForeground(new java.awt.Color(255, 0, 0));
        lblOutros.setText("OUTROS");
        getContentPane().add(lblOutros, new org.netbeans.lib.awtextra.AbsoluteConstraints(570, 240, -1, -1));

        btnSalvar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/edu/ifal/crazypizza/imagens/Botoesaceitar.png"))); // NOI18N
        btnSalvar.setText("Salvar");
        btnSalvar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSalvarActionPerformed(evt);
            }
        });
        getContentPane().add(btnSalvar, new org.netbeans.lib.awtextra.AbsoluteConstraints(540, 540, -1, -1));

        btnCancelar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/edu/ifal/crazypizza/imagens/Botoes_5123_cancel_48.png"))); // NOI18N
        btnCancelar.setText("Cancelar");
        btnCancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCancelarActionPerformed(evt);
            }
        });
        getContentPane().add(btnCancelar, new org.netbeans.lib.awtextra.AbsoluteConstraints(670, 540, -1, -1));
        getContentPane().add(ImagemOutros, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, -1, -1));
        getContentPane().add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 1400, -1));

        lblImagem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/edu/ifal/crazypizza/imagens/Tela Outros.jpg"))); // NOI18N
        getContentPane().add(lblImagem, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, -1, -1));

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnCancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelarActionPerformed
    this.dispose();        // TODO add your handling code here:
        
    }//GEN-LAST:event_btnCancelarActionPerformed

    private void btnSalvarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSalvarActionPerformed
    JOptionPane.showMessageDialog(null, "Sua Pedido foi criado !");
            this.dispose();    // TODO add your handling code here:
    }//GEN-LAST:event_btnSalvarActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(FrmOutros.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(FrmOutros.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(FrmOutros.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(FrmOutros.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new FrmOutros().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel ImagemOutros;
    private javax.swing.JRadioButton btnBiscoito;
    private javax.swing.JRadioButton btnBombom;
    private javax.swing.JToggleButton btnCancelar;
    private javax.swing.JRadioButton btnFondue;
    private javax.swing.JRadioButton btnMousse;
    private javax.swing.JToggleButton btnSalvar;
    private javax.swing.JRadioButton btnTrident;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel lblImagem;
    private javax.swing.JLabel lblOutros;
    private javax.swing.JPanel pnlOutros;
    // End of variables declaration//GEN-END:variables
}
